package com.ssy.lingxi.after.sale.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 售后退货明细设置状态VO
 * @author 伍将
 * @date 2020/9/25
 * @version 2.0.0
 */
public class ReturnGoodsDetailSetStatusVO implements Serializable {
    private static final long serialVersionUID = -345203567921768119L;

    /**
     * 退货id
     */
    @NotNull(message = "退货id要大于等于0")
    @PositiveOrZero(message = "退货id要大于等于0")
    private Long returnId;

    /**
     * 退货商品id
     */
    @NotNull(message = "退货商品id要大于等于0")
    @PositiveOrZero(message = "退货商品id要大于等于0")
    private Long returnGoodsId;

    /**
     * 是否需要退货  0-否；1-是
     */
    @NotNull(message = "是否需要退货不能为空")
    private Integer isNeed;

    public Long getReturnId() {
        return returnId;
    }

    public void setReturnId(Long returnId) {
        this.returnId = returnId;
    }

    public Long getReturnGoodsId() {
        return returnGoodsId;
    }

    public void setReturnGoodsId(Long returnGoodsId) {
        this.returnGoodsId = returnGoodsId;
    }

    public Integer getIsNeed() {
        return isNeed;
    }

    public void setIsNeed(Integer isNeed) {
        this.isNeed = isNeed;
    }
}
